package com.lixi.service.Impl;

import com.lixi.entity.Bat;
import com.lixi.mapper.BatMapper;
import com.lixi.mapper.Impl.BatMapperImpl;
import com.lixi.service.BatService;

import java.util.List;

/**
 * @author lixi
 * @create 2020-02-15:17:39
 */
public class BatServiceImpl implements BatService {

    private BatMapper mapper = new BatMapperImpl();

    public List<Bat> getBatList() {
        return mapper.getBatList();
    }

    public Integer addBat(Bat bat) {
        return mapper.addBat(bat);
    }

    public Integer updBat(Bat bat) {
        return mapper.updBat(bat);
    }
}
